//
//  SQTaskApplyPlaceModel.m
//  energy
//
//  Created by 周曼迪 on 2021/7/15.
//

#import "SQTaskApplyPlaceModel.h"

@implementation SQTaskApplyPlaceModelArray

@end



@implementation SQTaskApplyPlaceModelData

+(NSDictionary *)cc_arrayWithClass{
    return @{@"ipm_unit_three":[SQTaskApplyPlaceModelArray class]};
}

- (NSArray<NSString *> *)nameArr{
    NSMutableArray *arr = @[].mutableCopy;
    for (SQTaskApplyPlaceModelArray *d in self.ipm_unit_three) {
        [arr addObject:d.name];
    }
    return arr;
}
@end



@implementation SQTaskApplyPlaceModel
+(NSString *)api{
    return @"school_assignment/task.asmx/task_apply_place_task";
}

+(NSDictionary *)cc_arrayWithClass{
    return @{@"data":[SQTaskApplyPlaceModelData class]};
}

- (NSArray<NSString *> *)nameArr{
    NSMutableArray *arr = @[].mutableCopy;
    for (SQTaskApplyPlaceModelData *d in self.data) {
        [arr addObject:d.ipm_unit_two];
    }
    return arr;
}
@end
